﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using enqueteJwVd.DAL;

namespace enqueteJwVd.Services
{
    public class SurveyQuestionQuestionGroupService : ISurveyQuestionQuestionGroupService
    {
        private UnitOfWork unitOfWork;

        public SurveyQuestionQuestionGroupService()
        {
            unitOfWork = new UnitOfWork();
        }

        #region ISurveyQuestionQuestionGroupService Members
        public List<SurveyQuestionQuestionGroup> GetAllSurveyQuestionQuestionGroups()
        {
            return unitOfWork.SurveyQuestionQuestionGroupRepository.GetAll().ToList<SurveyQuestionQuestionGroup>();
        }
        #endregion

    }
}